package pro.lingwu.station.dto.db;

import io.swagger.annotations.ApiModel;
import lombok.*;
import org.apache.ibatis.type.JdbcType;
import org.springframework.data.geo.Point;

import javax.validation.constraints.NotNull;

/**
 * @author @lingwu
 * @date created in 2021/11/15
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("Station")
public class Station {

    private Long id;

    @NotNull
    private String name;

    @NotNull
    private String city;

    @NotNull
    private double xPos;

    @NotNull
    private double yPos;
}
